#ifndef __TimerThread_H__
#define __TimerThread_H__

#include "Timerfd.hpp"
#include "Thread.hpp"

class TimerThread
{
public:
    TimerThread(TimerCallback && cb, int init, int interval);
    void start();
    void stop();

private:
    Timerfd _timer;
    wd::Thread _thread;
};


#endif

